package org.zhigong.dao;

import org.apache.ibatis.annotations.Param;
import org.zhigong.entity.Zhiwei;

import java.util.List;

/**
 * Created by Administrator on 2018/3/14 0014.
 */
public interface ZhiweiDao {

    int insertZhiwei(Zhiwei zhiwei);

    int deleteZhiwei(@Param("zwbh") int zwbh);

    int updateZhiwei(Zhiwei zhiwei);

    Zhiwei queryByBh(@Param("zwbh") int zwbh);

    List<Zhiwei> getAll();

    List<Zhiwei> selectByPage(Zhiwei zhiwei);
}
